home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Dev / fpc / source / docs / dosex / ex6.pp < prev    next >
Encoding:
Text File  |  2000-01-01  |  219 b   |  10 lines

  1. Program Example6;
  2. uses Dos;
  3.  
  4. { Program to demonstrate the DiskSize and DiskFree function. }
  5.  
  6. begin
  7.   WriteLn('This partition size has ',DiskSize(0),' bytes');
  8.   WriteLn('Currently ',DiskFree(0),' bytes are free');
  9. end.
  10.